package action;

import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import basic.PageInfo;
import basic.QuerySet;
import basic.ResultSet;
import basic.SortInfo;
import common.BaseAction;
import dicts.PaymentDict;
import entities.TBalance;
import entities.TBm;
import entities.TMb;
import entities.TMs;
import entities.TSettle;
import entities.TSm;
import entities.TSmb;
import interfaces.IBalanceService;
import interfaces.IBmService;
import interfaces.IMbService;
import interfaces.IMsService;
import interfaces.ISettleService;
import interfaces.ISmService;
import interfaces.ISmbService;
import utils.StringUtil;
import views.VMsTransaction;
import views.VSmTransaction;

public class SmbAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7507534255609348887L;

	private IBalanceService balanceService;
	private TBalance balanceBean;
	private List<TBalance> balanceList;
	private String balNo;
	private Double balSm;
	private Double balMs;
	private Double balBm;
	private Double balMb;
	private Double balTotal;

	private ISettleService settleService;
	private TSettle settleBean;
	private List<TSettle> settleList;
	private String steNo;
	private Double steSm;
	private Double steMs;
	private Double steBm;
	private Double steMb;
	private Double steTotal;

	private ISmbService smbService;
	private TSmb smbBean;
	private List<TSmb> smbList;
	private String smbNo;
	private String smbNos;
	private String smbSign;
	private String smbMer;
	private String smbType;
	private Double smbAmount;
	private String smbState;
	private Date smbDate;
	private Date smbDateTop;
	private Date smbDateEnd;
	private String smbRemark;
	private Double smbTotal;

	private IMsService msService;
	private TMs msBean;
	private List<TMs> msList;
	private VMsTransaction msTransactionBean;
	private List<VMsTransaction> msTransactionList;
	private String msNo;
	private String msNos;
	private String msType;
	private Double msAmount;
	private String msState;
	private Date msDate;
	private Date msDateTop;
	private Date msDateEnd;
	private String msRemark;

	private ISmService smService;
	private TSm smBean;
	private List<TSm> smList;
	private VSmTransaction smTransactionBean;
	private List<VSmTransaction> smTransactionList;
	private String smNo;
	private String smNos;
	private String smType;
	private Double smAmount;
	private String smState;
	private Date smDate;
	private Date smDateTop;
	private Date smDateEnd;
	private String smRemark;

	private IBmService bmService;
	private TBm bmBean;
	private List<TBm> bmList;
	private String bmNo;
	private String bmNos;
	private String bmType;
	private Double bmAmount;
	private String bmState;
	private Date bmDate;
	private Date bmDateTop;
	private Date bmDateEnd;
	private String bmVstate;
	private Date bmVdate;
	private Date bmVdateTop;
	private Date bmVdateEnd;
	private String bmRemark;

	private IMbService mbService;
	private TMb mbBean;
	private List<TMb> mbList;
	private String mbNo;
	private String mbNos;
	private String mbType;
	private String mbBank;
	private String mbBranch;
	private String mbBanker;
	private String mbAccount;
	private Double mbAmount;
	private String mbBankz;
	private String mbBranchz;
	private String mbBankerz;
	private String mbAccountz;
	private String mbState;
	private Date mbDate;
	private Date mbDateTop;
	private Date mbDateEnd;
	private String mbVstate;
	private Date mbVdate;
	private Date mbVdateTop;
	private Date mbVdateEnd;
	private String mbRemark;

	private Map<String, Double> incomeMap = new LinkedHashMap<String, Double>();
	private Map<String, Double> expendMap = new LinkedHashMap<String, Double>();

	public String listbalance() throws Exception {
		QuerySet<Object> querySet = new QuerySet<Object>();

		HashMap<String, Object> paramMap = new HashMap<String, Object>();
		paramMap.put("balNo", StringUtil.split(balNo));
		SortInfo sortInfo = new SortInfo();
		sortInfo.setSortField((StringUtil.isEmpty(sortField)) ? "balNo" : sortField);
		sortInfo.setSortOrder(new Boolean(true));

		querySet.setPageInfo(new PageInfo(pageIndex, pageSize));
		querySet.setSortInfo(sortInfo);
		querySet.setParamMap(paramMap);

		ResultSet<TBalance> resultSet = balanceService.search(querySet);
		balanceList = resultSet.getResultList();
		pageInfo = resultSet.getPageInfo();
		return SUCCESS;
	}
	
	public String listsettle() throws Exception {
		QuerySet<Object> querySet = new QuerySet<Object>();

		HashMap<String, Object> paramMap = new HashMap<String, Object>();
		paramMap.put("steNo", StringUtil.split(steNo));
		SortInfo sortInfo = new SortInfo();
		sortInfo.setSortField((StringUtil.isEmpty(sortField)) ? "steNo" : sortField);
		sortInfo.setSortOrder(new Boolean(true));

		querySet.setPageInfo(new PageInfo(pageIndex, pageSize));
		querySet.setSortInfo(sortInfo);
		querySet.setParamMap(paramMap);

		ResultSet<TSettle> resultSet = settleService.search(querySet);
		settleList = resultSet.getResultList();
		pageInfo = resultSet.getPageInfo();
		return SUCCESS;
	}

	public String showbalance() throws Exception {
		QuerySet<Object> querySet = new QuerySet<Object>();
		Map<String, Object> paramMap = Collections.synchronizedMap(new HashMap<String, Object>());

		balanceBean = balanceService.fetch(balNo);

		paramMap.put("smbMer", balNo);
		paramMap.put("smbState", "1");
		querySet.setPolymerizeInfo("smbAmount");
		querySet.setParamMap(paramMap);

		paramMap.put("smbType", PaymentDict.SM_THANSFER);
		incomeMap.put(PaymentDict.SM_THANSFER, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_ANNUL);
		incomeMap.put(PaymentDict.SM_ANNUL, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_THAW);
		incomeMap.put(PaymentDict.SM_THAW, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_POUNDAGE);
		incomeMap.put(PaymentDict.SM_POUNDAGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_MORTGAGE);
		incomeMap.put(PaymentDict.SM_MORTGAGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_SPLIT);
		incomeMap.put(PaymentDict.SM_SPLIT, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.BM_DEPOSIT);
		incomeMap.put(PaymentDict.BM_DEPOSIT, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.BM_TRANSFER);
		incomeMap.put(PaymentDict.BM_TRANSFER, smbService.summary(querySet));

		Double incomeTotal = new Double(0);
		for (Map.Entry<String, Double> e : incomeMap.entrySet()) {
			incomeTotal += e.getValue();
		}
		incomeMap.put("收入总计", incomeTotal);

		paramMap.put("smbType", PaymentDict.MS_REFUND);
		expendMap.put(PaymentDict.MS_REFUND, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_REFUSE);
		expendMap.put(PaymentDict.MS_REFUSE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_CHARGE);
		expendMap.put(PaymentDict.MS_CHARGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_FREEZE);
		expendMap.put(PaymentDict.MS_FREEZE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_POUNDAGE);
		expendMap.put(PaymentDict.MS_POUNDAGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_MORTGAGE);
		expendMap.put(PaymentDict.MS_MORTGAGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MB_SETTLE);
		expendMap.put(PaymentDict.MB_SETTLE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MB_PENALTY);
		expendMap.put(PaymentDict.MB_PENALTY, smbService.summary(querySet));

		Double expendTotal = new Double(0);
		for (Map.Entry<String, Double> e : expendMap.entrySet()) {
			expendTotal += e.getValue();
		}
		expendMap.put("支出总计", expendTotal);

		return SUCCESS;
	}
	
	public String showsettle() throws Exception {
		QuerySet<Object> querySet = new QuerySet<Object>();
		Map<String, Object> paramMap = Collections.synchronizedMap(new HashMap<String, Object>());

		settleBean = settleService.fetch(steNo);

		paramMap.put("smbMer", steNo);
		paramMap.put("smbState", "1");
		querySet.setPolymerizeInfo("smbAmount");
		querySet.setParamMap(paramMap);

		paramMap.put("smbType", PaymentDict.SM_THANSFER);
		incomeMap.put(PaymentDict.SM_THANSFER, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_ANNUL);
		incomeMap.put(PaymentDict.SM_ANNUL, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_THAW);
		incomeMap.put(PaymentDict.SM_THAW, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_POUNDAGE);
		incomeMap.put(PaymentDict.SM_POUNDAGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_MORTGAGE);
		incomeMap.put(PaymentDict.SM_MORTGAGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.SM_SPLIT);
		incomeMap.put(PaymentDict.SM_SPLIT, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.BM_DEPOSIT);
		incomeMap.put(PaymentDict.BM_DEPOSIT, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.BM_TRANSFER);
		incomeMap.put(PaymentDict.BM_TRANSFER, smbService.summary(querySet));

		Double incomeTotal = new Double(0);
		for (Map.Entry<String, Double> e : incomeMap.entrySet()) {
			incomeTotal += e.getValue();
		}
		incomeMap.put("收入总计", incomeTotal);

		paramMap.put("smbType", PaymentDict.MS_REFUND);
		expendMap.put(PaymentDict.MS_REFUND, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_REFUSE);
		expendMap.put(PaymentDict.MS_REFUSE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_CHARGE);
		expendMap.put(PaymentDict.MS_CHARGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_FREEZE);
		expendMap.put(PaymentDict.MS_FREEZE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_POUNDAGE);
		expendMap.put(PaymentDict.MS_POUNDAGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MS_MORTGAGE);
		expendMap.put(PaymentDict.MS_MORTGAGE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MB_SETTLE);
		expendMap.put(PaymentDict.MB_SETTLE, smbService.summary(querySet));
		paramMap.put("smbType", PaymentDict.MB_PENALTY);
		expendMap.put(PaymentDict.MB_PENALTY, smbService.summary(querySet));

		Double expendTotal = new Double(0);
		for (Map.Entry<String, Double> e : expendMap.entrySet()) {
			expendTotal += e.getValue();
		}
		expendMap.put("支出总计", expendTotal);

		return SUCCESS;
	}

	

	////////////////////// ---------------------------//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	////////////////////// ---------------------------//////////////////////////////////////////////////////////////////////////////////////////////////////////////
	////////////////////// ---------------------------//////////////////////////////////////////////////////////////////////////////////////////////////////////////

	public ISmbService getSmbService() {
		return smbService;
	}

	public void setSmbService(ISmbService smbService) {
		this.smbService = smbService;
	}

	public TSmb getSmbBean() {
		return smbBean;
	}

	public void setSmbBean(TSmb smbBean) {
		this.smbBean = smbBean;
	}

	public List<TSmb> getSmbList() {
		return smbList;
	}

	public void setSmbList(List<TSmb> smbList) {
		this.smbList = smbList;
	}

	public String getSmbNo() {
		return smbNo;
	}

	public void setSmbNo(String smbNo) {
		this.smbNo = smbNo;
	}

	public String getSmbNos() {
		return smbNos;
	}

	public void setSmbNos(String smbNos) {
		this.smbNos = smbNos;
	}

	public String getSmbSign() {
		return smbSign;
	}

	public void setSmbSign(String smbSign) {
		this.smbSign = smbSign;
	}

	public String getSmbMer() {
		return smbMer;
	}

	public void setSmbMer(String smbMer) {
		this.smbMer = smbMer;
	}

	public String getSmbType() {
		return smbType;
	}

	public void setSmbType(String smbType) {
		this.smbType = smbType;
	}

	public Double getSmbAmount() {
		return smbAmount;
	}

	public void setSmbAmount(Double smbAmount) {
		this.smbAmount = smbAmount;
	}

	public String getSmbState() {
		return smbState;
	}

	public void setSmbState(String smbState) {
		this.smbState = smbState;
	}

	public Date getSmbDate() {
		return smbDate;
	}

	public void setSmbDate(Date smbDate) {
		this.smbDate = smbDate;
	}

	public Date getSmbDateTop() {
		return smbDateTop;
	}

	public void setSmbDateTop(Date smbDateTop) {
		this.smbDateTop = smbDateTop;
	}

	public Date getSmbDateEnd() {
		return smbDateEnd;
	}

	public void setSmbDateEnd(Date smbDateEnd) {
		this.smbDateEnd = smbDateEnd;
	}

	public String getSmbRemark() {
		return smbRemark;
	}

	public void setSmbRemark(String smbRemark) {
		this.smbRemark = smbRemark;
	}

	public IMsService getMsService() {
		return msService;
	}

	public void setMsService(IMsService msService) {
		this.msService = msService;
	}

	public TMs getMsBean() {
		return msBean;
	}

	public void setMsBean(TMs msBean) {
		this.msBean = msBean;
	}

	public List<TMs> getMsList() {
		return msList;
	}

	public void setMsList(List<TMs> msList) {
		this.msList = msList;
	}

	public VMsTransaction getMsTransactionBean() {
		return msTransactionBean;
	}

	public void setMsTransactionBean(VMsTransaction msTransactionBean) {
		this.msTransactionBean = msTransactionBean;
	}

	public List<VMsTransaction> getMsTransactionList() {
		return msTransactionList;
	}

	public void setMsTransactionList(List<VMsTransaction> msTransactionList) {
		this.msTransactionList = msTransactionList;
	}

	public String getMsNo() {
		return msNo;
	}

	public void setMsNo(String msNo) {
		this.msNo = msNo;
	}

	public String getMsNos() {
		return msNos;
	}

	public void setMsNos(String msNos) {
		this.msNos = msNos;
	}

	public String getMsType() {
		return msType;
	}

	public void setMsType(String msType) {
		this.msType = msType;
	}

	public Double getMsAmount() {
		return msAmount;
	}

	public void setMsAmount(Double msAmount) {
		this.msAmount = msAmount;
	}

	public String getMsState() {
		return msState;
	}

	public void setMsState(String msState) {
		this.msState = msState;
	}

	public Date getMsDate() {
		return msDate;
	}

	public void setMsDate(Date msDate) {
		this.msDate = msDate;
	}

	public Date getMsDateTop() {
		return msDateTop;
	}

	public void setMsDateTop(Date msDateTop) {
		this.msDateTop = msDateTop;
	}

	public Date getMsDateEnd() {
		return msDateEnd;
	}

	public void setMsDateEnd(Date msDateEnd) {
		this.msDateEnd = msDateEnd;
	}

	public String getMsRemark() {
		return msRemark;
	}

	public void setMsRemark(String msRemark) {
		this.msRemark = msRemark;
	}

	public ISmService getSmService() {
		return smService;
	}

	public void setSmService(ISmService smService) {
		this.smService = smService;
	}

	public TSm getSmBean() {
		return smBean;
	}

	public void setSmBean(TSm smBean) {
		this.smBean = smBean;
	}

	public List<TSm> getSmList() {
		return smList;
	}

	public void setSmList(List<TSm> smList) {
		this.smList = smList;
	}

	public VSmTransaction getSmTransactionBean() {
		return smTransactionBean;
	}

	public void setSmTransactionBean(VSmTransaction smTransactionBean) {
		this.smTransactionBean = smTransactionBean;
	}

	public List<VSmTransaction> getSmTransactionList() {
		return smTransactionList;
	}

	public void setSmTransactionList(List<VSmTransaction> smTransactionList) {
		this.smTransactionList = smTransactionList;
	}

	public String getSmNo() {
		return smNo;
	}

	public void setSmNo(String smNo) {
		this.smNo = smNo;
	}

	public String getSmNos() {
		return smNos;
	}

	public void setSmNos(String smNos) {
		this.smNos = smNos;
	}

	public String getSmType() {
		return smType;
	}

	public void setSmType(String smType) {
		this.smType = smType;
	}

	public Double getSmAmount() {
		return smAmount;
	}

	public void setSmAmount(Double smAmount) {
		this.smAmount = smAmount;
	}

	public String getSmState() {
		return smState;
	}

	public void setSmState(String smState) {
		this.smState = smState;
	}

	public Date getSmDate() {
		return smDate;
	}

	public void setSmDate(Date smDate) {
		this.smDate = smDate;
	}

	public Date getSmDateTop() {
		return smDateTop;
	}

	public void setSmDateTop(Date smDateTop) {
		this.smDateTop = smDateTop;
	}

	public Date getSmDateEnd() {
		return smDateEnd;
	}

	public void setSmDateEnd(Date smDateEnd) {
		this.smDateEnd = smDateEnd;
	}

	public String getSmRemark() {
		return smRemark;
	}

	public void setSmRemark(String smRemark) {
		this.smRemark = smRemark;
	}

	public IBmService getBmService() {
		return bmService;
	}

	public void setBmService(IBmService bmService) {
		this.bmService = bmService;
	}

	public TBm getBmBean() {
		return bmBean;
	}

	public void setBmBean(TBm bmBean) {
		this.bmBean = bmBean;
	}

	public List<TBm> getBmList() {
		return bmList;
	}

	public void setBmList(List<TBm> bmList) {
		this.bmList = bmList;
	}

	public String getBmNo() {
		return bmNo;
	}

	public void setBmNo(String bmNo) {
		this.bmNo = bmNo;
	}

	public String getBmNos() {
		return bmNos;
	}

	public void setBmNos(String bmNos) {
		this.bmNos = bmNos;
	}

	public String getBmType() {
		return bmType;
	}

	public void setBmType(String bmType) {
		this.bmType = bmType;
	}

	public Double getBmAmount() {
		return bmAmount;
	}

	public void setBmAmount(Double bmAmount) {
		this.bmAmount = bmAmount;
	}

	public String getBmState() {
		return bmState;
	}

	public void setBmState(String bmState) {
		this.bmState = bmState;
	}

	public Date getBmDate() {
		return bmDate;
	}

	public void setBmDate(Date bmDate) {
		this.bmDate = bmDate;
	}

	public Date getBmDateTop() {
		return bmDateTop;
	}

	public void setBmDateTop(Date bmDateTop) {
		this.bmDateTop = bmDateTop;
	}

	public Date getBmDateEnd() {
		return bmDateEnd;
	}

	public void setBmDateEnd(Date bmDateEnd) {
		this.bmDateEnd = bmDateEnd;
	}

	public String getBmVstate() {
		return bmVstate;
	}

	public void setBmVstate(String bmVstate) {
		this.bmVstate = bmVstate;
	}

	public Date getBmVdate() {
		return bmVdate;
	}

	public void setBmVdate(Date bmVdate) {
		this.bmVdate = bmVdate;
	}

	public Date getBmVdateTop() {
		return bmVdateTop;
	}

	public void setBmVdateTop(Date bmVdateTop) {
		this.bmVdateTop = bmVdateTop;
	}

	public Date getBmVdateEnd() {
		return bmVdateEnd;
	}

	public void setBmVdateEnd(Date bmVdateEnd) {
		this.bmVdateEnd = bmVdateEnd;
	}

	public String getBmRemark() {
		return bmRemark;
	}

	public void setBmRemark(String bmRemark) {
		this.bmRemark = bmRemark;
	}

	public IMbService getMbService() {
		return mbService;
	}

	public void setMbService(IMbService mbService) {
		this.mbService = mbService;
	}

	public TMb getMbBean() {
		return mbBean;
	}

	public void setMbBean(TMb mbBean) {
		this.mbBean = mbBean;
	}

	public List<TMb> getMbList() {
		return mbList;
	}

	public void setMbList(List<TMb> mbList) {
		this.mbList = mbList;
	}

	public String getMbNo() {
		return mbNo;
	}

	public void setMbNo(String mbNo) {
		this.mbNo = mbNo;
	}

	public String getMbNos() {
		return mbNos;
	}

	public void setMbNos(String mbNos) {
		this.mbNos = mbNos;
	}

	public String getMbType() {
		return mbType;
	}

	public void setMbType(String mbType) {
		this.mbType = mbType;
	}

	public String getMbBank() {
		return mbBank;
	}

	public void setMbBank(String mbBank) {
		this.mbBank = mbBank;
	}

	public String getMbBranch() {
		return mbBranch;
	}

	public void setMbBranch(String mbBranch) {
		this.mbBranch = mbBranch;
	}

	public String getMbBanker() {
		return mbBanker;
	}

	public void setMbBanker(String mbBanker) {
		this.mbBanker = mbBanker;
	}

	public String getMbAccount() {
		return mbAccount;
	}

	public void setMbAccount(String mbAccount) {
		this.mbAccount = mbAccount;
	}

	public Double getMbAmount() {
		return mbAmount;
	}

	public void setMbAmount(Double mbAmount) {
		this.mbAmount = mbAmount;
	}

	public String getMbBankz() {
		return mbBankz;
	}

	public void setMbBankz(String mbBankz) {
		this.mbBankz = mbBankz;
	}

	public String getMbBranchz() {
		return mbBranchz;
	}

	public void setMbBranchz(String mbBranchz) {
		this.mbBranchz = mbBranchz;
	}

	public String getMbBankerz() {
		return mbBankerz;
	}

	public void setMbBankerz(String mbBankerz) {
		this.mbBankerz = mbBankerz;
	}

	public String getMbAccountz() {
		return mbAccountz;
	}

	public void setMbAccountz(String mbAccountz) {
		this.mbAccountz = mbAccountz;
	}

	public String getMbState() {
		return mbState;
	}

	public void setMbState(String mbState) {
		this.mbState = mbState;
	}

	public Date getMbDate() {
		return mbDate;
	}

	public void setMbDate(Date mbDate) {
		this.mbDate = mbDate;
	}

	public Date getMbDateTop() {
		return mbDateTop;
	}

	public void setMbDateTop(Date mbDateTop) {
		this.mbDateTop = mbDateTop;
	}

	public Date getMbDateEnd() {
		return mbDateEnd;
	}

	public void setMbDateEnd(Date mbDateEnd) {
		this.mbDateEnd = mbDateEnd;
	}

	public String getMbVstate() {
		return mbVstate;
	}

	public void setMbVstate(String mbVstate) {
		this.mbVstate = mbVstate;
	}

	public Date getMbVdate() {
		return mbVdate;
	}

	public void setMbVdate(Date mbVdate) {
		this.mbVdate = mbVdate;
	}

	public Date getMbVdateTop() {
		return mbVdateTop;
	}

	public void setMbVdateTop(Date mbVdateTop) {
		this.mbVdateTop = mbVdateTop;
	}

	public Date getMbVdateEnd() {
		return mbVdateEnd;
	}

	public void setMbVdateEnd(Date mbVdateEnd) {
		this.mbVdateEnd = mbVdateEnd;
	}

	public String getMbRemark() {
		return mbRemark;
	}

	public void setMbRemark(String mbRemark) {
		this.mbRemark = mbRemark;
	}

	public IBalanceService getBalanceService() {
		return balanceService;
	}

	public void setBalanceService(IBalanceService balanceService) {
		this.balanceService = balanceService;
	}

	public TBalance getBalanceBean() {
		return balanceBean;
	}

	public void setBalanceBean(TBalance balanceBean) {
		this.balanceBean = balanceBean;
	}

	public List<TBalance> getBalanceList() {
		return balanceList;
	}

	public void setBalanceList(List<TBalance> balanceList) {
		this.balanceList = balanceList;
	}

	public String getBalNo() {
		return balNo;
	}

	public void setBalNo(String balNo) {
		this.balNo = balNo;
	}

	public Double getBalSm() {
		return balSm;
	}

	public void setBalSm(Double balSm) {
		this.balSm = balSm;
	}

	public Double getBalMs() {
		return balMs;
	}

	public void setBalMs(Double balMs) {
		this.balMs = balMs;
	}

	public Double getBalBm() {
		return balBm;
	}

	public void setBalBm(Double balBm) {
		this.balBm = balBm;
	}

	public Double getBalMb() {
		return balMb;
	}

	public void setBalMb(Double balMb) {
		this.balMb = balMb;
	}

	public Double getBalTotal() {
		return balTotal;
	}

	public void setBalTotal(Double balTotal) {
		this.balTotal = balTotal;
	}

	public ISettleService getSettleService() {
		return settleService;
	}

	public void setSettleService(ISettleService settleService) {
		this.settleService = settleService;
	}

	public TSettle getSettleBean() {
		return settleBean;
	}

	public void setSettleBean(TSettle settleBean) {
		this.settleBean = settleBean;
	}

	public List<TSettle> getSettleList() {
		return settleList;
	}

	public void setSettleList(List<TSettle> settleList) {
		this.settleList = settleList;
	}

	public String getSteNo() {
		return steNo;
	}

	public void setSteNo(String steNo) {
		this.steNo = steNo;
	}

	public Double getSteSm() {
		return steSm;
	}

	public void setSteSm(Double steSm) {
		this.steSm = steSm;
	}

	public Double getSteMs() {
		return steMs;
	}

	public void setSteMs(Double steMs) {
		this.steMs = steMs;
	}

	public Double getSteBm() {
		return steBm;
	}

	public void setSteBm(Double steBm) {
		this.steBm = steBm;
	}

	public Double getSteMb() {
		return steMb;
	}

	public void setSteMb(Double steMb) {
		this.steMb = steMb;
	}

	public Double getSteTotal() {
		return steTotal;
	}

	public void setSteTotal(Double steTotal) {
		this.steTotal = steTotal;
	}

	public Map<String, Double> getIncomeMap() {
		return incomeMap;
	}

	public void setIncomeMap(Map<String, Double> incomeMap) {
		this.incomeMap = incomeMap;
	}

	public Map<String, Double> getExpendMap() {
		return expendMap;
	}

	public void setExpendMap(Map<String, Double> expendMap) {
		this.expendMap = expendMap;
	}

	public Double getSmbTotal() {
		return smbTotal;
	}

	public void setSmbTotal(Double smbTotal) {
		this.smbTotal = smbTotal;
	}

}
